/*
 * Copyright 2009 Eat Local Food, LLC
 * Copyright (c) 2007 osCommerce for the following functions:
 *     adjustedImageSize
 *     adjustedQuantity
 *     validateEmailFormat
 * These functions are a rewrite of functions found in osCommerce in the php language.
 * This file is part of gwtCommerce.
 *
 * gwtCommerce is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * gwtCommerce is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with gwtCommerce.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.elf.gwt.store.client.utils;

import com.google.gwt.core.client.GWT;

/**
 * Container class for a general group of static functions.
 */
public class StoreUtils
{
	private StoreUtils()
	{
	}

	/**
	 * Returns the absolute path to the product images folder
	 * @return product images folder
	 */
	public static String getImageProductsDirectory()
	{
		return GWT.getHostPageBaseURL() + "images/products/";
	}

	/**
	 * Returns the absolute path to the manufactures images folder
	 * @return manufacturers images folder
	 */
	public static String getImageManufacturersDirectory()
	{
		return GWT.getHostPageBaseURL() + "images/manufacturers/";
	}
}
